package com.cskaoyan.order.dal.persistence;


import com.cskaoyan.order.dal.entitys.Order;
import com.cskaoyan.order.dto.OrderDetailInfo;
import com.cskaoyan.order.dto.OrderDetailResponse;
import com.cskaoyan.order.dto.OrderItemDto;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OrderMapper extends Mapper<Order> {
    Long countAll();
    List<OrderDetailInfo> selOrderList(@Param("uid") long uid,@Param("sort")String sort);
    OrderDetailResponse selUserDetails(@Param("order_id") String orderId);

    Integer updateUniqueKey(@Param("orderId") String orderId, @Param("uniqueKey") String uniqueKey);
}